package com.example.firstprojectnew.mapper;

import com.example.firstprojectnew.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: lihua
 * @Date: 2025/4/2 08:57
 * @Version: v1.0.0
 * @Description:
 **/
@Mapper
public interface CourseMapper {

    public List<Course> getAllCourseByStatus(int status);

    public Course getCourseById(String id);

    public int update(Course course);

}
